package main

import (
	"fmt"
	"net/http"

	"github.com/gin-gonic/gin"
)

func main() {
	engine := gin.Default()

	engine.GET("/hellobyte", func(context *gin.Context) {
		path := "请求路径:" + context.FullPath()
		fmt.Println(path)
		context.String(http.StatusOK, path)

	})

	engine.Run()
}
